class Phone:
    def __init__(self):
        self.power = 100

    def game(self):
        # print("打游戏")
        if self.power > 10:
            self.power -= 10
            return "打游戏消耗电量是10"
        else:
            return '电量不足'

    def music(self):
        if self.power > 5:
            self.power -= 5
            return "打听歌消耗电量是5"
        else:
            return '电量不足'

    def play_phone(self):
        if self.power > 4:
            self.power -= 4
            return "打电话消耗电量是4"
        else:
            return '电量不足'

    def jie_phone(self):
        if self.power > 3:
            self.power -= 3
            return "接电话消耗电量是3"
        else:
            return '电量不足'

    def chong_power(self):
        if self.power <= 100:
            self.power = 100
            return "充电可以为手机补充电量"
        else:
            return '手机无需充电'


p1 = Phone("")

print(p1.game())
print(p1.music())
print(p1.jie_phone())
print(p1.play_phone())
print(p1.power)
p1.chong_power()
print(p1.power)
